package org.example.framework.BeanException;

public class BeanException extends Exception{
    public enum ErrorType{FILE_NOTFOUND, CLASS_NOTFOUND, CONTENT_ERR, NAME_RPT};
    private ErrorType errorType;

    public BeanException(ErrorType errorType, String message){
        super(message);
        this.errorType = errorType;
    }

    public ErrorType getErrorType() {
        return errorType;
    }
}
